fc9928
@@ -41,7 +41,7 @@
public class ListenerContainerConsumerFailedEvent extends AmqpEvent {
 	 * @param throwable the throwable.
 	 * @param fatal true if the startup failure was fatal (will not be retried).
 	 */
-	public ListenerContainerConsumerFailedEvent(SimpleMessageListenerContainer source, String reason,
+	public ListenerContainerConsumerFailedEvent(Object source, String reason,
 			Throwable throwable, boolean fatal) {
 		super(source);
 		this.reason = reason;
@@ -49,10 +49,6 @@
public class ListenerContainerConsumerFailedEvent extends AmqpEvent {
 		this.throwable = throwable;
 	}
 
-	public SimpleMessageListenerContainer getContainer() {
-		return (SimpleMessageListenerContainer) this.source;
-	}
-
 	public String getReason() {
 		return this.reason;
 	}
